{% extends '::base.html.twig' %}
{% block title %}Eliminar Usuario{% endblock %}

{% block greensectiontitle %}Eliminar Usuario{% endblock %}
{% block greensectionbody %}



<table class="record_properties">
    <tbody>
        <tr>
            <th>Id</th>
            <td>{{ entity.id }}</td>
        </tr>
        <tr>
            <th>Apellido</th>
            <td>{{ entity.apellido }}</td>
        </tr>
        <tr>
            <th>Nombre</th>
            <td>{{ entity.nombre }}</td>
        </tr>
        <tr>
            <th>Cedula</th>
            <td>{{ entity.cedula }}</td>
        </tr>
        
        <tr>
            <th>Telefono</th>
            <td>{{ entity.telefono }}</td>
        </tr>
    </tbody>
</table>


<form id='deleteForm' action="{{ path('persona_delete', { 'id': entity.id }) }}" method="post">
            {{ form_widget(delete_form) }}
        <div id="controls">
            <a title="Eliminar usuario"id="deleteButton" href="#">Eliminar</a>
            <a title="Cancelar y volver a la lista de usuarios" href="{{ path('persona') }}">Cancelar</a>
        </div>
</form>

{% endblock %}